package com.nais.mapper;

import com.nais.domain.UserAgreement;
import com.nais.domain.UserAgreementCriteria;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface UserAgreementMapper {
    long countByExample(UserAgreementCriteria example);

    int deleteByExample(UserAgreementCriteria example);

    int deleteByPrimaryKey(Long id);

    int insert(UserAgreement record);

    int insertSelective(UserAgreement record);

    List<UserAgreement> selectByExample(UserAgreementCriteria example);

    UserAgreement selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") UserAgreement record, @Param("example") UserAgreementCriteria example);

    int updateByExample(@Param("record") UserAgreement record, @Param("example") UserAgreementCriteria example);

    int updateByPrimaryKeySelective(UserAgreement record);

    int updateByPrimaryKey(UserAgreement record);
}